﻿using System;
using System.ServiceModel.Configuration;

namespace WcfAdvice.AOP
{
    public class TokenExtensionElement : BehaviorExtensionElement
    {
        public override Type BehaviorType {
            get { return typeof(TokenInspectorBehavior); }
        }

        protected override object CreateBehavior()
        {
            return new TokenInspectorBehavior();
        }
    }
}